package com.liu.sunnyday.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.liu.sunnyday.dao.MenuDao;
import com.liu.sunnyday.pojo.Menu;
import com.liu.sunnyday.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * chance！Time
 *
 * @author liuqian
 * @date 2022-07-14 9:31
 * *
 */
@Service(interfaceClass = MenuService.class)
public class MenuServiceimpl implements MenuService {

    @Autowired
    private MenuDao menuDao;

    @Override
    public List<Menu> findByRoid(Integer id) {
        return menuDao.findByRoid(id);
    }
}
